package com.snack.shop.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信小程序配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat.miniapp")
public class WechatMiniappConfig {
    
    /**
     * 小程序AppID
     */
    private String appId;
    
    /**
     * 小程序密钥
     */
    private String appSecret;
}

